package com.maiji.cloud.response.shopingmall;

import java.util.Date;
import java.util.List;

import com.maiji.cloud.response.BaseResDto;
import com.maiji.cloud.response.Status;
import com.maiji.cloud.response.login.UploadImageResData;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain = true)
public class DownPriceDetailResDto extends BaseResDto {
	@ApiModelProperty(value = "响应数据")
	private DownPriceDetailResData data;

	public DownPriceDetailResData dataInstance() {
		return new DownPriceDetailResData();
	}

	public DownPriceDetailResDto(Status status) {
		super(status);
	}

	@NoArgsConstructor
	@Data
	@Accessors(chain = true)
	public class DownPriceDetailResData {

		@ApiModelProperty(value = "昵称")
		private String nickName;

		@ApiModelProperty(value = "头像")
		private String headUrl;

		@ApiModelProperty(value = "商品名称")
		private String name;

		@ApiModelProperty(value = "商品价格")
		private Double startPrice;

		@ApiModelProperty(value = "商品结束时间")
		private Date endTime;

		@ApiModelProperty(value = "已砍价格")
		private Double downPriceSum;

		@ApiModelProperty(value = "免费拿的人数")
		private Double pepoles;

		@ApiModelProperty(value = "商品主图")
		private UploadImageResData mainImage;

		@ApiModelProperty(value = "用户砍价商品的记录id")
		private String downPriceGoodsLogId;

		@ApiModelProperty(value = "商品id")
		private String goodId;

		@ApiModelProperty(value = "商品所属阶段集合")
		private List<String> stageLabels;

		@ApiModelProperty(value = "砍价商品状态")
		private Integer status; // 0: 砍价中,1:砍价完成

	}
}
